package canss.webservice.controls;

import org.apache.beehive.controls.api.bean.ControlInterface;

import weblogic.jdbc.SQLExceptionWrapper;
import canss.webservice.model.PersonDesc;

@ControlInterface
public interface PersonDescControl
{

	PersonDesc[] getEntirePersonDesc() throws SQLExceptionWrapper;

	PersonDesc[] getPersonDescByPID(String _tblpid_pid)
			throws SQLExceptionWrapper;

	Boolean updatePersonDesc(String _tblpid_pid, String _pub_name, String _pub_regnum, String _pub_category, String _pub_people, String _pub_money, String _pub_year, String _pub_ceo, String _pub_ceophone, String _pub_addr)
			throws SQLExceptionWrapper;

	Boolean addPersonDesc(String _tblpid_pid, Integer _pub_biztype)
			throws SQLExceptionWrapper;

	Boolean removePersonDesc(String _tblpid_pid) throws SQLExceptionWrapper;

	Boolean checkPersonDesc(String _tblpid_pid) throws SQLExceptionWrapper;

}